﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace SpotsHub.Gateway.Models.Customer
{
    public class CustomerInvoiceListModel
    {
        public CustomerInvoiceListModel()
        {
            Invoices = new List<InvoiceModel>();
            InvoiceDaysOptions = new List<SelectListItem>();
        }

        public CustomerNavigationModel NavigationModel { get; set; }

        public IList<InvoiceModel> Invoices { get; set; }

        public int? InvoiceDayOption { get; set; }
        public IList<SelectListItem> InvoiceDaysOptions { get; set; }
        public string InvoiceNumber { get; set; }

        #region Nested classes
        public class InvoiceModel
        {
            public int Id { get; set; }
            public string Date { get; set; }
            public string PaidDate { get; set; }
            public string DueDate { get; set; }
            public string Amount { get; set; }
            public string InvoiceNumber { get; set; }
            public string Status { get; set; }
            public string DownloadLink { get; set; }
        }
        #endregion
    }
}